package com.cheikh.lazywaimai.model.bean;

import java.io.Serializable;

/**
 * @author zk123
 * @version 2018/6/2
 */

public class ResultBean<T> implements Serializable {
    private static final long serialVersionUID = -3759707545985920736L;
    public static final String RESPONSE_SUCCESS = "1";
    public static final String RESPONSE_FAIL = "0";
    protected String code;
    protected String message;
    private T data;

    public ResultBean() {
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return this.message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return this.data;
    }

    public void setData(T data) {
        this.data = data;
    }
}